//
//  CarList.m
//  INMOTION
//
//  Created by Kyle on 14-5-2.
//  Copyright (c) 2014年 Inmotion. All rights reserved.
//

#import "CarList.h"
#import "CarModel.h"

@implementation CarList

//加载数据
- (void)loadDataFromResponseData:(NSDictionary *)responseData andRequestType:(RequestType)requestType {
    NSArray *data = [responseData objectForKey:@"data"];
    for (id item in data) {
        CarModel *car = [[CarModel alloc] init];
        [car loadDataFromResponseData:item andRequestType:requestType];
        [self.dataList addObject:car];
    }
}

#pragma mark - Archiver
- (void)saveArchiver {
}

- (void)loadArchiver {
}

@end
